package com.jprocms.module.cms.controller.admin.content.vo;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Schema(description = "管理后台 - 内容推送 Request VO")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ContentPushVo {

    @NotEmpty
    @Schema(description = "ids", required = true)
    List<Long> ids;

    @NotNull
    @Schema(description = "目标栏目ID", required = true)
    private Long targetChannelId;

    @Schema(description = "推送方式 1 复制 2 引用 ", required = true)
    @NotNull
    private Integer pushType;

    @NotNull
    @Schema(description = "目标站点ID", required = true)
    private Long targetSiteId;

    @NotNull
    @Schema(description = "目标状态", required = true)
    private Long targetStatus;

    @Schema(description = "推送密码", required = true)
    @NotNull
    private String pushPass;
}
